package text;

public class test {
    public static void main(String[] args) {
        String nums ="[59,60]";
        String substring = nums.substring(1, nums.length() - 1);
        String[] split = substring.split(",");
       for(int i=0;i<split.length;i++){
            System.out.println(split[i]);

       }
        System.out.println(split.length);
        //59,60  座位号
    }
}
